<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> 
<meta http-equiv="Pragma" content="no-cache" /> 
<meta http-equiv="Expires" content="0" />
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" href="css/unified.css" />
		<link href="css/after_sales.css" rel="stylesheet" />
		<style>
			.detText span{
				    display: inline-block;
    				width: 6em;
    
			}
		</style>
	</head>

	<body>
		<!--顶部导航栏-->
		<header class="mui-bar mui-bar-nav">
			<!--<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left white"></a>-->
			<h1 class="mui-title white">售后/退款</h1>
			<!--<a id="icon-more" class="white"><span class="mui-icon mui-icon-more-filled fright icon_caidan"></span></a>-->
		</header>

		<div class="content" id="aslist">
			<!--商品详情-->
			<div class="details clearfix" >
				<!--<div class="detText">
					<p><span>订单编号</span>1131351</p>
					<p><span>退款状态</span>保修</p>
					<p><span>退付金额</span>545RMB</p>
					<p><span>退款说明</span>需要全额退款</p>
					<p><span>退款原因</span>质量上有问题</p>
					<p><span>订单类型</span>退款</p>
					<p><span>需要积分</span>120</p>
					<p><span>保修卡</span>有</p>
					<p><span>包装完整</span>是</p>
					<p><span>快递编号</span>244865431416531</p>
					<p><span>取货点编码</span>15325</p>
					<p><span>快递商家</span>家家乐</p>
					<p><span>生成时间</span>2018-03-28 19:55</p>
					<p><span>换货快递</span>发财快递</p>
					<p><span>换货快递名</span>688</p>
					<p><span>新订单编号</span>16464646656565</p>
					<p><span>审核管理员</span>张发财</p>
					<p><span>审核时间</span>2018-03-28 19:57</p>
				</div>-->
			</div>
			
		</div>
		<script src="js/mui.min.js"></script>
		<!--<script src="js/after_sales.js"></script>-->
		<script src="js/jquery-3.2.1.js"></script>
		<script type="text/javascript" src="js/Fn.js" ></script>
		<script type="text/javascript">
			mui.init()
			MuiAjaxFn("client/orderinfo/refunds/selectbyuser?page=1&pagesize=11","{'sorting':'refunds_state','tosort':'desc','page':'0','pagerow':'1'}",function(data){
				var str = '';
				if(data.pageInfo.size != 0){
					$.each(data.pageInfo.list, function(idx,obj) {
						str += '<div class="details clearfix"><div class="detText">'+
							'<p><span>订单编号</span>1131351</p>'+
								'<p><span>退款状态</span>'+obj.orderNumber+'</p>'+
								'<p><span>退付金额</span>'+obj.refundsPaymentAmount+'</p>'+
								'<p><span>退款说明</span>'+obj.refundsExplain+'</p>'+
								'<p><span>退款原因</span>'+obj.refundsCause+'</p>'+
								'<p><span>订单类型</span>'+obj.orderType+'</p>'+
								'<p><span>需要积分</span>'+obj.scoreRefunds+'</p>'+
								'<p><span>保修卡</span>'+obj.warrantyCard+'</p>'+
								'<p><span>包装完整</span>'+obj.packageIntegrity+'</p>'+
								'<p><span>快递编号</span>'+obj.refundsExpressNumber+'</p>'+
								'<p><span>取货点编码</span>'+obj.deliveryNumber+'</p>'+
								'<p><span>快递商家</span>'+obj.refundsExpressBusiness+'</p>'+
								'<p><span>生成时间</span>'+getMyDate(obj.refundsGenerateTime)+'</p>'+
								'<p><span>换货快递</span>'+obj.barterExpressNumber+'</p>'+
								'<p><span>换货快递名</span>'+obj.barterExpressName+'</p>'+
								'<p><span>新订单编号</span>'+obj.newOrderNumber+'</p>'+
								'<p><span>审核管理员</span>'+obj.serviceAdminId+'</p>'+
								'<p><span>审核时间</span>'+obj.approvalTime+'</p>'+
							'</div>'+
						'</div>';
					});
					$("#aslist").html(str);
				}else{
					//处理零售后订单的情况
					nodata("当前还没有售后的订单", "#aslist",0);
				}
				
			})
		</script>
	</body>

</html>